package com.dragon.pear.models.result;

import io.swagger.v3.oas.annotations.media.Schema;
import java.sql.Timestamp;
import java.sql.Timestamp;

/**
 * @author Chris Chan
 * Create on 2025-09-30 22:44
 * Use for: 心愿 响应结果
 * Explain:
 * 
 */
@Schema(description = "心愿 请求响应结果")
public class TradeUserWishResult {
    @Schema(description = "ID", example = "1")
    private long id;
    @Schema(description = "用户账号", example = "1")
    private long accountCode;
    @Schema(description = "商品分类编码", example = "1")
    private long cateCode;
    @Schema(description = "商品分类标签", example = "字符串")
    private String cateLabel;
    @Schema(description = "商品匹配关键词", example = "字符串")
    private String goodsWords;
    @Schema(description = "地址匹配关键词 用英文逗号分割", example = "字符串")
    private String addressWords;
    @Schema(description = "创建时间", example = "1")
    private long time;
    @Schema(description = "过期时间", example = "1")
    private long expireTime;

    // 无参构造方法
    public TradeUserWishResult() {
    }

    // 全参数构造方法
    public TradeUserWishResult(long id, long accountCode, long cateCode, String cateLabel, String goodsWords, String addressWords, long time, long expireTime) {
        this.id = id;
        this.accountCode = accountCode;
        this.cateCode = cateCode;
        this.cateLabel = cateLabel;
        this.goodsWords = goodsWords;
        this.addressWords = addressWords;
        this.time = time;
        this.expireTime = expireTime;
    }

    // 全参数create生成器
    public static TradeUserWishResult create(long id, long accountCode, long cateCode, String cateLabel, String goodsWords, String addressWords, long time, long expireTime) {
        return new TradeUserWishResult(id, accountCode, cateCode, cateLabel, goodsWords, addressWords, time, expireTime);
    }

    // 全参数of生成器
    public static TradeUserWishResult of(long id, long accountCode, long cateCode, String cateLabel, String goodsWords, String addressWords, long time, long expireTime) {
        return new TradeUserWishResult(id, accountCode, cateCode, cateLabel, goodsWords, addressWords, time, expireTime);
    }
    // region Getter和Setter方法
    public long getId() {
        return id;
    }

    public TradeUserWishResult setId(long id) {
        this.id = id;
        return this;
    }

    public long getAccountCode() {
        return accountCode;
    }

    public TradeUserWishResult setAccountCode(long accountCode) {
        this.accountCode = accountCode;
        return this;
    }

    public long getCateCode() {
        return cateCode;
    }

    public TradeUserWishResult setCateCode(long cateCode) {
        this.cateCode = cateCode;
        return this;
    }

    public String getCateLabel() {
        return cateLabel;
    }

    public TradeUserWishResult setCateLabel(String cateLabel) {
        this.cateLabel = cateLabel;
        return this;
    }

    public String getGoodsWords() {
        return goodsWords;
    }

    public TradeUserWishResult setGoodsWords(String goodsWords) {
        this.goodsWords = goodsWords;
        return this;
    }

    public String getAddressWords() {
        return addressWords;
    }

    public TradeUserWishResult setAddressWords(String addressWords) {
        this.addressWords = addressWords;
        return this;
    }

    public long getTime() {
        return time;
    }

    public TradeUserWishResult setTime(long time) {
        this.time = time;
        return this;
    }

    public long getExpireTime() {
        return expireTime;
    }

    public TradeUserWishResult setExpireTime(long expireTime) {
        this.expireTime = expireTime;
        return this;
    }

    // endregion Getter和Setter方法
}
